﻿using System.Collections.Generic;

namespace TyMES.Communication.Response
{
    public class BOMrequest
    {
        public string lineCode { get; set; }
        public string orderCode { get; set; }
        public string serviceId = "Base004_OrderBom";
        public string factoryCode { get; set; }
        public string requestTime { get; set; }
        public string updateTime { get; set; }

    }
    public class BomResponse
    {
        public string code { get; set; }
        public bool success { get; set; }
        public bool fail { get; set; }
        public string mesg { get; set; }
        public List<BomData> data { get; set; }
        public string time { get; set; }
    }

    public class BomData
    {
        public string addTime { get; set; }
        public string assemblyConsumption { get; set; }
        public string assemblyMaterialCode { get; set; }
        public string assemblyMaterialId { get; set; }
        public string assemblyMaterialName { get; set; }
        public string assemblyMaterialRegex { get; set; }
        public string assemblyMaterialVersion { get; set; }
        public string assemblyUnitCode { get; set; }
        public string assemblyline { get; set; }
        public int autoMaterialDeduction { get; set; }
        public string editTime { get; set; }
        public string factoryCode { get; set; }
        public string field1 { get; set; }
        public string field2 { get; set; }
        public string field3 { get; set; }
        public string field4 { get; set; }
        public string field5 { get; set; }
        public string isDelete { get; set; }
        public string materialCode { get; set; }
        public string materialId { get; set; }
        public string materialName { get; set; }
        public string materialRegex { get; set; }
        public string materialSort { get; set; }
        public string materialVersion { get; set; }
        public string operationCode { get; set; }
        public string orderCode { get; set; }
        public string orderId { get; set; }
        public string orderQty { get; set; }
        public string productBomId { get; set; }
        public List<object> replaceMaterialList { get; set; }
        public int replaces { get; set; }
        public string retroactive { get; set; }
        public string routeBomCode { get; set; }
        //public string routeBomId { get; set; }
        public string routeBomName { get; set; }
        public string routeNumber { get; set; }
        public string scheduleNumber { get; set; }
        public string shipRegularCheck { get; set; }
        public string shopOrderOperationMaterialId { get; set; }

    }

}
